{% load static %}

<head>
    <meta page="mkdir.html">

    <title>创建目录</title>
    <link rel="stylesheet" type="text/css" href="{% static 'index/css/edit.css' %}">
</head>
<body>
<div class="inner-wrapper">
    <h2>创建子目录到 <a class="directory" href="{{ directory.get_url }}">{{ directory.get_url }}</a> 目录下：</h2>
    <form method="POST" action="{% url 'file_manage:mkdir' directory.pk %}">
    {% csrf_token %}
    <table>
    {{ form }}
    </table>
    <br>
    <button class="btn">保存</button>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <a href="{{ directory.get_url }}" class="btn">放弃</a>
    </form>
</div>
</body>
